﻿<Canvas
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  x:Name="parentCanvas" Width="900" Height="500">

    <Canvas.Triggers> 
    <EventTrigger RoutedEvent="Canvas.Loaded"> 
		<BeginStoryboard> 
		<Storyboard x:Name="GearsStoryboard" RepeatBehavior="Forever">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="wheel_rust">
				<EasingDoubleKeyFrame KeyTime="0:0:5" Value="-360"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="wheel_gray">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:5" Value="-360"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="wheel_darkgray">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:5" Value="360"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		</BeginStoryboard> 
    </EventTrigger> 
  	</Canvas.Triggers>

  <Canvas x:Name="SplashScreenCanvas" Canvas.Left="400" Canvas.Top="50" Margin="-0.374,0,162.374,180" RenderTransformOrigin="0.5,0.5" UseLayoutRounding="False" Width="900" Height="500">
    <Canvas.RenderTransform>
      <TransformGroup>
        <ScaleTransform/>
        <SkewTransform AngleX="0.238"/>
        <RotateTransform/>
        <TranslateTransform X="0.996"/>
      </TransformGroup>
    </Canvas.RenderTransform>
    <Canvas x:Name="GearsCanvas" UseLayoutRounding="False" Width="400" Height="400" Canvas.Left="73">
      <Image x:Name="wheel_rust" Canvas.Left="129" Source="../SplashScreen_Images/wheel_rust.png" Canvas.Top="125.733" Width="80" RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Center" VerticalAlignment="Center" Height="80">
        <Image.RenderTransform>
          <TransformGroup>
            <ScaleTransform/>
            <SkewTransform/>
            <RotateTransform/>
            <TranslateTransform/>
          </TransformGroup>
        </Image.RenderTransform>
      </Image>
      <Image x:Name="wheel_gray" Canvas.Left="57" Source="../SplashScreen_Images/wheel_gray.png" Canvas.Top="72" Width="90" RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Center" VerticalAlignment="Center" Height="90">
        <Image.RenderTransform>
          <TransformGroup>
            <ScaleTransform/>
            <SkewTransform/>
            <RotateTransform Angle="-360"/>
            <TranslateTransform/>
          </TransformGroup>
        </Image.RenderTransform>
      </Image>
      <Image x:Name="wheel_darkgray" Canvas.Left="135" Source="../SplashScreen_Images/wheel_darkgray.png" Canvas.Top="28" Width="100" RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Center" VerticalAlignment="Center" Height="100">
        <Image.RenderTransform>
          <TransformGroup>
            <ScaleTransform/>
            <SkewTransform/>
            <RotateTransform Angle="360"/>
            <TranslateTransform/>
          </TransformGroup>
        </Image.RenderTransform>
      </Image>
    </Canvas>
    <Canvas x:Name="ProgressCanvas" Canvas.Left="8" Canvas.Top="235" Width="475" Height="51">
      <TextBlock x:Name="progressTextBox" Foreground="Gray" FontFamily="Courier New" Height="22" Canvas.Left="8"
                 TextWrapping="Wrap" Canvas.Top="8" Width="459" FontSize="12" TextAlignment="Center" Text="You are 0% closer to a unique Silverlight UG Experience">
      </TextBlock>
    </Canvas>
  </Canvas>	
 </Canvas>